From: Colin Walters Date: Fri, 28 Nov 2008 20:35:32 +0000 (+0000) Subject: Add more Ubuntu requirements checking to build setup script X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11552 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6cc571b41ed295eb8c770b2e1df5853e11657bfb;p=gnome-shell.git Add more Ubuntu requirements checking to build setup script Signed-off-by: Colin Walters svn path=/trunk/; revision=88 --- diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index d077abccd..8d5aef6cb 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -49,11 +49,22 @@ fi system=`lsb_release -is` if test x$system = xUbuntu -o x$system = xDebian ; then - if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else - echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell." - echo - fi + reqd="" + for pkg in libgconf2-dev git-core gtk-doc-tools libgl1-mesa-dev \ + mesa-common-dev libffi-dev libgtk2.0-dev flex build-essential \ + curl xulrunner-1.9-dev; do + if dpkg --status $pkg > /dev/null 2>&1; then : ; else + reqd="$pkg $reqd" + fi + done + if test ! x$reqd = x; then + echo "Please run, as root, 'apt-get install $reqd' before building gnome-shell." + echo + fi fi ++ + echo "Done." + echo "Done."